newInstance

public static UrlProxyConfig newInstance(String pacUrl)

Creates a proxy configuration based on the PAC file located at the given pacUrl.

Parameters

pacUrl

a string that represents a valid URL address of the PAC file. Cannot be null, empty or contain a path to the PAC file on a local file system.

Throws

when pacUrl is empty or blank